package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.provider.api.model.enums.AgentLevelEnum;
import com.weixing.mall.provider.model.enums.AgentPayTypeEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * AgentRefundVo
 *
 * @author  gjq
 * @date  2019/9/24
 * @since  1.0
 **/
@Data
public class AgentRefundVo {

    /**
     * id
     */
    private Long id;
    /**
     * 代理id
     */
    private Long agentId;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 退费类型
     */
    private AgentPayTypeEnum refundType;
    /**
     * 代理级别
     */
    private AgentLevelEnum agentLevel;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern= DatePattern.NORM_DATETIME_PATTERN)
    private Date createdTime;
    /**
     * 代理姓名
     */
    private String agentName;
    /**
     * 代理优惠id
     */
    private String agentSn;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 客服id
     */
    private Long customerId;
    /**
     * 客服姓名
     */
    private String customerName;

}
